[INFO] cloning repository https://github.com/yangniao23/7z-repair-tool
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yangniao23/7z-repair-tool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyangniao23%2F7z-repair-tool", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyangniao23%2F7z-repair-tool'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bd433c3d1291de7e82afbe153c5dcdf35767a256
[INFO] fixing yangniao23/7z-repair-tool against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyangniao23%2F7z-repair-tool" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/yangniao23/7z-repair-tool
[INFO] finished tweaking git repo https://github.com/yangniao23/7z-repair-tool
[INFO] tweaked toml for git repo https://github.com/yangniao23/7z-repair-tool written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/yangniao23/7z-repair-tool on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/yangniao23/7z-repair-tool already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded nt-time v0.8.1
[INFO] [stderr]   Downloaded lzma-rust v0.1.7
[INFO] [stderr]   Downloaded filetime_creation v0.2.0
[INFO] [stderr]   Downloaded iso6709parse v0.1.2
[INFO] [stderr]   Downloaded nom-exif v2.7.0
[INFO] [stderr]   Downloaded sevenz-rust v0.6.1
[INFO] [stderr]   Downloaded libc v0.2.181
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 1c2d130c62bab66d0bec39138f77ae46b7ab15c4df0cc6932f5adf5f8fc6c6f7
[INFO] running `Command { std: "docker" "start" "1c2d130c62bab66d0bec39138f77ae46b7ab15c4df0cc6932f5adf5f8fc6c6f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1c2d130c62bab66d0bec39138f77ae46b7ab15c4df0cc6932f5adf5f8fc6c6f7" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1c2d130c62bab66d0bec39138f77ae46b7ab15c4df0cc6932f5adf5f8fc6c6f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1c2d130c62bab66d0bec39138f77ae46b7ab15c4df0cc6932f5adf5f8fc6c6f7" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.181
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking num-traits v0.2.19
[INFO] [stderr]    Compiling cc v1.2.56
[INFO] [stderr]     Checking deranged v0.5.6
[INFO] [stderr]    Compiling time-macros v0.2.27
[INFO] [stderr]     Checking aho-corasick v1.1.4
[INFO] [stderr]     Checking regex-syntax v0.8.9
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking geo-types v0.7.18
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]     Checking winnow v0.7.14
[INFO] [stderr]     Checking bit-vec v0.7.0
[INFO] [stderr]    Compiling lzma-sys v0.1.20
[INFO] [stderr]     Checking rayon v1.11.0
[INFO] [stderr]     Checking filetime v0.2.27
[INFO] [stderr]     Checking time v0.3.47
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking filetime_creation v0.2.0
[INFO] [stderr]     Checking bit-set v0.6.0
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking chrono v0.4.43
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking lzma-rust v0.1.7
[INFO] [stderr]     Checking nt-time v0.8.1
[INFO] [stderr]     Checking iso6709parse v0.1.2
[INFO] [stderr]     Checking signal-hook v0.3.18
[INFO] [stderr]     Checking thiserror v2.0.18
[INFO] [stderr]     Checking xz2 v0.1.7
[INFO] [stderr]     Checking sevenz-rust v0.6.1
[INFO] [stderr]     Checking memmap2 v0.9.9
[INFO] [stderr]     Checking lzma-rs v0.3.0
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]     Checking jpeg-decoder v0.3.2
[INFO] [stderr]     Checking regex v1.12.3
[INFO] [stderr]     Checking nom-exif v2.7.0
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]     Checking image_recovery v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0583]: file not found for module `block`
[INFO] [stdout]  --> src/bin/debug_gap.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod block;
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `block`, create file "src/bin/block.rs" or "src/bin/block/mod.rs"
[INFO] [stdout]   = note: if there is a `mod block` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `block`
[INFO] [stdout]  --> src/bin/debug_gap.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod block;
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `block`, create file "src/bin/block.rs" or "src/bin/block/mod.rs"
[INFO] [stdout]   = note: if there is a `mod block` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `file`
[INFO] [stdout]  --> src/bin/debug_gap.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | mod file;
[INFO] [stdout]   | ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `file`, create file "src/bin/file.rs" or "src/bin/file/mod.rs"
[INFO] [stdout]   = note: if there is a `mod file` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `jpeg`
[INFO] [stdout]  --> src/bin/debug_gap.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | mod jpeg;
[INFO] [stdout]   | ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `jpeg`, create file "src/bin/jpeg.rs" or "src/bin/jpeg/mod.rs"
[INFO] [stdout]   = note: if there is a `mod jpeg` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `mov`
[INFO] [stdout]  --> src/bin/debug_gap.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | mod mov;
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `mov`, create file "src/bin/mov.rs" or "src/bin/mov/mod.rs"
[INFO] [stdout]   = note: if there is a `mod mov` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `file`
[INFO] [stdout]  --> src/bin/debug_gap.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | mod file;
[INFO] [stdout]   | ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `file`, create file "src/bin/file.rs" or "src/bin/file/mod.rs"
[INFO] [stdout]   = note: if there is a `mod file` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `jpeg`
[INFO] [stdout]  --> src/bin/debug_gap.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | mod jpeg;
[INFO] [stdout]   | ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `jpeg`, create file "src/bin/jpeg.rs" or "src/bin/jpeg/mod.rs"
[INFO] [stdout]   = note: if there is a `mod jpeg` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `mov`
[INFO] [stdout]  --> src/bin/debug_gap.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | mod mov;
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `mov`, create file "src/bin/mov.rs" or "src/bin/mov/mod.rs"
[INFO] [stdout]   = note: if there is a `mod mov` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `scan_step` is never read
[INFO] [stdout]   --> src/main.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct Config {
[INFO] [stdout]    |        ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 29 |     scan_step: usize,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Config` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `unique_filename` is never used
[INFO] [stdout]   --> src/exif_utils.rs:80:8
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub fn unique_filename(dir: &str, base: &str) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Unknown` is never constructed
[INFO] [stdout]  --> src/file.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub enum FileKind {
[INFO] [stdout]   |          -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 6 |     Unknown,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `FileKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `validator` is never read
[INFO] [stdout]   --> src/jpeg.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub struct JpegScanner {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 50 |     validator: JpegValidator,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `validator` is never used
[INFO] [stdout]    --> src/jpeg.rs:112:12
[INFO] [stdout]     |
[INFO] [stdout]  53 | impl JpegScanner {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 112 |     pub fn validator(&self) -> JpegValidator {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_mov_creation_date` is never used
[INFO] [stdout]  --> src/mov.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn extract_mov_creation_date(data: &[u8]) -> Option<String> {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `format_unix_timestamp` is never used
[INFO] [stdout]   --> src/mov.rs:58:4
[INFO] [stdout]    |
[INFO] [stdout] 58 | fn format_unix_timestamp(unix_time: i64) -> Option<String> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `generate_filename` is never used
[INFO] [stdout]    --> src/mov.rs:117:12
[INFO] [stdout]     |
[INFO] [stdout] 110 | impl MovScanner {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn generate_filename(&self, data: &[u8], id: usize) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `image_recovery` (bin "debug_gap") due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `image_recovery` (bin "debug_gap" test) due to 4 previous errors
[INFO] [stdout] For more information about this error, try `rustc --explain E0583`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0583`.
[INFO] [stdout] 
[INFO] [stdout] warning: field `scan_step` is never read
[INFO] [stdout]   --> src/main.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct Config {
[INFO] [stdout]    |        ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 29 |     scan_step: usize,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Config` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `validator` is never read
[INFO] [stdout]   --> src/jpeg.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub struct JpegScanner {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 50 |     validator: JpegValidator,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `validator` is never used
[INFO] [stdout]    --> src/jpeg.rs:112:12
[INFO] [stdout]     |
[INFO] [stdout]  53 | impl JpegScanner {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 112 |     pub fn validator(&self) -> JpegValidator {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_mov_creation_date` is never used
[INFO] [stdout]  --> src/mov.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn extract_mov_creation_date(data: &[u8]) -> Option<String> {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `format_unix_timestamp` is never used
[INFO] [stdout]   --> src/mov.rs:58:4
[INFO] [stdout]    |
[INFO] [stdout] 58 | fn format_unix_timestamp(unix_time: i64) -> Option<String> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `generate_filename` is never used
[INFO] [stdout]    --> src/mov.rs:117:12
[INFO] [stdout]     |
[INFO] [stdout] 110 | impl MovScanner {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn generate_filename(&self, data: &[u8], id: usize) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "1c2d130c62bab66d0bec39138f77ae46b7ab15c4df0cc6932f5adf5f8fc6c6f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1c2d130c62bab66d0bec39138f77ae46b7ab15c4df0cc6932f5adf5f8fc6c6f7", kill_on_drop: false }`
[INFO] [stdout] 1c2d130c62bab66d0bec39138f77ae46b7ab15c4df0cc6932f5adf5f8fc6c6f7
